from machine import I2C, Pin, SPI
from sdcard import *
import os
import gc

def Mount_card():
    spi = SPI(1, baudrate=80000000, polarity=0, phase=0)
    sd = SDCard(spi, Pin(16))
    os.mount(sd, '/sdc')
    os.chdir('/sdc')

gc.collect()
try:
    Mount_card()
except:
    pass
